home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / java / jdirect mouse / readme < prev   
Encoding:
Text File  |  2000-06-23  |  1.7 KB  |  38 lines

  1. JDirectMouse
  2. A simple example of how to obtain the mouse location using the Mac OS Toolbox through JDirect 2.
  3. For use with MRJ 2.1 and later.
  4.  
  5. Version 1.0, 4/15/1999
  6. by Levi Brown.
  7. Apple Worldwide Developer Technical Support
  8. Apple Computer, Inc.
  9.  
  10. Copyright ©1999 Apple Computer, Inc.
  11. All rights reserved.
  12.  
  13.  
  14. Included in this archive:
  15.  
  16.     JDirectMouse, a JBound application to launch the example with.
  17.  
  18.     The CodeWarrior project (JDirect Mouse.prj) and it's associated files.
  19.  
  20.     JDriectMouse.jar, the compiled classes for the example, encapsulated in a jar file.
  21.  
  22.     The JDirect Macintosh Toolbox wrapper functions used in the source are part of
  23.     the MRJ 2.1 SDK installation (MRJ SDK 2.1:JDirect:JDirect 2.0 Sample Code:).
  24.     The MRJ SDK is available for download at:
  25.     http://developer.apple.com/java/text/download.html#sdk
  26.  
  27. To test the application:
  28.  
  29.     Run the JDirectMouse JBound application by double-clicking on it.
  30.         (Note that the JDirectMouse.jar needs to be located in the same directory as the application.)
  31.         The console will come up and display the current mouse location as it is moved.
  32.  
  33. For more information please refer to the sources, which are well commented.
  34.  
  35. ______________________________________________________________________________
  36. You may incorporate this sample code into your applications without restriction, though the sample code has been provided "AS IS" and the responsibility for its operation is 100% yours.  However, what you are not permitted to do is to redistribute the source as "Apple Sample Code" after having made changes. If you're going to re-distribute the source, we require that you make it clear in the source that the code was descended from Apple Sample Code, but that you've made changes.  
  37.  
  38.